package com.leather.activity.config;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MQConfig {

    public final static String MESSAGE_QUENE = "messagequene";
    public final static String ACTIVITY_MOBOLE_QUENE = "activitymobilequeue";

    @Bean
    public Queue getQuene(){
        return new Queue(MESSAGE_QUENE,true);
    }

    @Bean
    public Queue getMobileQuene(){
        return new Queue(ACTIVITY_MOBOLE_QUENE,true);
    }




}
